﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000783 RID: 1923
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class GetOfferingInfoScRsp : IMessage<GetOfferingInfoScRsp>, IMessage, IEquatable<GetOfferingInfoScRsp>, IDeepCloneable<GetOfferingInfoScRsp>, IBufferMessage
	{
		// Token: 0x17001894 RID: 6292
		// (get) Token: 0x06005671 RID: 22129 RVA: 0x000E9C95 File Offset: 0x000E7E95
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<GetOfferingInfoScRsp> Parser
		{
			get
			{
				return GetOfferingInfoScRsp._parser;
			}
		}

		// Token: 0x17001895 RID: 6293
		// (get) Token: 0x06005672 RID: 22130 RVA: 0x000E9C9C File Offset: 0x000E7E9C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return GetOfferingInfoScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17001896 RID: 6294
		// (get) Token: 0x06005673 RID: 22131 RVA: 0x000E9CAE File Offset: 0x000E7EAE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return GetOfferingInfoScRsp.Descriptor;
			}
		}

		// Token: 0x06005674 RID: 22132 RVA: 0x000E9CB5 File Offset: 0x000E7EB5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetOfferingInfoScRsp()
		{
		}

		// Token: 0x06005675 RID: 22133 RVA: 0x000E9CC8 File Offset: 0x000E7EC8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetOfferingInfoScRsp(GetOfferingInfoScRsp other) : this()
		{
			this.aNNFONPCPDO_ = other.aNNFONPCPDO_.Clone();
			this.retcode_ = other.retcode_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06005676 RID: 22134 RVA: 0x000E9CFE File Offset: 0x000E7EFE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetOfferingInfoScRsp Clone()
		{
			return new GetOfferingInfoScRsp(this);
		}

		// Token: 0x17001897 RID: 6295
		// (get) Token: 0x06005677 RID: 22135 RVA: 0x000E9D06 File Offset: 0x000E7F06
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<OJOBBCKLNFK> ANNFONPCPDO
		{
			get
			{
				return this.aNNFONPCPDO_;
			}
		}

		// Token: 0x17001898 RID: 6296
		// (get) Token: 0x06005678 RID: 22136 RVA: 0x000E9D0E File Offset: 0x000E7F0E
		// (set) Token: 0x06005679 RID: 22137 RVA: 0x000E9D16 File Offset: 0x000E7F16
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x0600567A RID: 22138 RVA: 0x000E9D1F File Offset: 0x000E7F1F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as GetOfferingInfoScRsp);
		}

		// Token: 0x0600567B RID: 22139 RVA: 0x000E9D30 File Offset: 0x000E7F30
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(GetOfferingInfoScRsp other)
		{
			return other != null && (other == this || (this.aNNFONPCPDO_.Equals(other.aNNFONPCPDO_) && this.Retcode == other.Retcode && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600567C RID: 22140 RVA: 0x000E9D80 File Offset: 0x000E7F80
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			num ^= this.aNNFONPCPDO_.GetHashCode();
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600567D RID: 22141 RVA: 0x000E9DCD File Offset: 0x000E7FCD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600567E RID: 22142 RVA: 0x000E9DD5 File Offset: 0x000E7FD5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600567F RID: 22143 RVA: 0x000E9DE0 File Offset: 0x000E7FE0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			this.aNNFONPCPDO_.WriteTo(ref output, GetOfferingInfoScRsp._repeated_aNNFONPCPDO_codec);
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(72);
				output.WriteUInt32(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06005680 RID: 22144 RVA: 0x000E9E30 File Offset: 0x000E8030
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			num += this.aNNFONPCPDO_.CalculateSize(GetOfferingInfoScRsp._repeated_aNNFONPCPDO_codec);
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06005681 RID: 22145 RVA: 0x000E9E84 File Offset: 0x000E8084
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(GetOfferingInfoScRsp other)
		{
			if (other == null)
			{
				return;
			}
			this.aNNFONPCPDO_.Add(other.aNNFONPCPDO_);
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06005682 RID: 22146 RVA: 0x000E9ED1 File Offset: 0x000E80D1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06005683 RID: 22147 RVA: 0x000E9EDC File Offset: 0x000E80DC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 50U)
				{
					if (num != 72U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.Retcode = input.ReadUInt32();
					}
				}
				else
				{
					this.aNNFONPCPDO_.AddEntriesFrom(ref input, GetOfferingInfoScRsp._repeated_aNNFONPCPDO_codec);
				}
			}
		}

		// Token: 0x040021CD RID: 8653
		private static readonly MessageParser<GetOfferingInfoScRsp> _parser = new MessageParser<GetOfferingInfoScRsp>(() => new GetOfferingInfoScRsp());

		// Token: 0x040021CE RID: 8654
		private UnknownFieldSet _unknownFields;

		// Token: 0x040021CF RID: 8655
		public const int ANNFONPCPDOFieldNumber = 6;

		// Token: 0x040021D0 RID: 8656
		private static readonly FieldCodec<OJOBBCKLNFK> _repeated_aNNFONPCPDO_codec = FieldCodec.ForMessage<OJOBBCKLNFK>(50U, OJOBBCKLNFK.Parser);

		// Token: 0x040021D1 RID: 8657
		private readonly RepeatedField<OJOBBCKLNFK> aNNFONPCPDO_ = new RepeatedField<OJOBBCKLNFK>();

		// Token: 0x040021D2 RID: 8658
		public const int RetcodeFieldNumber = 9;

		// Token: 0x040021D3 RID: 8659
		private uint retcode_;
	}
}
